/**
 * Created by wangzilong on 2017/4/11.
 */
import React, { Component } from 'react';
import {
    AppRegistry,
    StyleSheet,
    Text,
    View,
    Image,
    ScrollView,
    TouchableOpacity,
    TextInput,
    ListView,
    Modal,
    Platform
} from 'react-native';
import ImageWrapper from '../components/ImageWrapper';
import NavigationBar from '../components/NavigationBar';
var Dimensions = require('Dimensions');
const { width, height } = Dimensions.get('window');

export default class Explain extends Component{
    constructor(props) {
        super(props);
        this.state = {
            
        };
        
    }

    render(){
        return (
            <View style={styles.container}>
                <NavigationBar 
                    leftIcon={'left'} 
                    titleText={'说明'} 
                    leftPress={()=>this.goBack()}/>
                
            </View>
        )

    }

    goBack(){
        this.props.navigation.goBack();
    }


}


const styles = StyleSheet.create({
    container:{
        flex:1,
        backgroundColor:'#fff',
        ...Platform.select({
            ios: {
                marginTop: 20
            },
            android: {
                marginTop:0
            },

        }),
    }, 
    
    
});